package com.winning.sjzc.zygl.dao;


import com.winning.sjzc.common.entity.po.TreeEntity;
import com.winning.sjzc.zygl.entity.Zyxx;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ZyxxDao {
    int deleteByPrimaryKey(String zydm);

    int insert(Zyxx record);

    int insertSelective(Zyxx record);

    Zyxx selectByPrimaryKey(String zydm);

    int updateByPrimaryKeySelective(Zyxx record);

    int updateByPrimaryKey(Zyxx record);

    List<TreeEntity> queryZyTree();

    List<Zyxx> queryZyxxByParam(Map<String, Object> param);
}